Skip to content

[docs] Fix RSS/Atom feed dates all showing the build date - #1649

Merged
mellyeliu merged 1 commit into
facebook:mainfrom
henryqdineen:hqd-fix-rss-feed-dates
Jun 18, 2026
Merged

[docs] Fix RSS/Atom feed dates all showing the build date#1649
mellyeliu merged 1 commit into
facebook:mainfrom
henryqdineen:hqd-fix-rss-feed-dates

Conversation

@henryqdineen

Copy link
Copy Markdown
Collaborator

What changed / motivation ?

The regex used to extract dates from blog post paths had a leading \/, but
fumadocs normalizes paths without a leading slash (e.g. 2024-04-16-Release-v0.6.1).
This caused every match to fail, so all posts fell back to new Date() and
showed the build timestamp instead of their actual publish date.

Fixed by anchoring the regex to ^ instead of \/.

Linked PR/Issues

Fixes # (issue)

Additional Context

N/A

Pre-flight checklist

The regex used to extract dates from blog post paths had a leading `\/`,
but fumadocs normalizes paths without a leading slash (e.g.
`2024-04-16-Release-v0.6.1`). Every match failed, so all posts fell back
to `new Date()` and showed the build timestamp instead of their actual
publish date.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 8, 2026

Copy link
Copy Markdown

@henryqdineen is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 8, 2026
@henryqdineen

Copy link
Copy Markdown
Collaborator Author

@mellyeliu hopefully this is easy to merge. I'm old school and use an RSS reader and every time the website get's deployed my reader thinks that all of the posts are new.

@mellyeliu
mellyeliu merged commit 053f31e into facebook:main Jun 18, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants